package cn.itsource.pethome.user.mapper;

import cn.itsource.pethome.user.domain.WechatUser;
import org.apache.ibatis.annotations.Param;

public interface WechatMapper {

    WechatUser loadByOpenid(String openid);

    void save(WechatUser user);

    /**
     * 用户绑定微信
     * @param openid
     */
    void binder(@Param("loginInfoid") Long loginInfoid, @Param("openid") String openid);
}
